﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Template.Master" AutoEventWireup="true"
    CodeBehind="LienHe.aspx.cs" Inherits="GreenLife.LienHe" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <title1>Contact Us</title1>
    <table style="width: 540px">
        <tr>
            <td>
                <asp:Label ID="Label1" runat="server" Text="Full Name:"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtUserNameContact" Style="width: 150px" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ValidationGroup="Send" ID="RequiredFieldValidator1" runat="server"
                    ControlToValidate="txtUserNameContact" ErrorMessage="Name must input" SetFocusOnError="True"
                    Width="190px" Display="Dynamic"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label2" runat="server" Text="E-Mail:"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtEmailContact" runat="server" Style="width: 250px;"></asp:TextBox>
                <asp:RequiredFieldValidator ValidationGroup="Send" ID="RequiredFieldValidator2" runat="server"
                    ControlToValidate="txtEmailContact" ErrorMessage="Email must input" SetFocusOnError="True"
                    Display="Dynamic" Width="193px"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtEmailContact"
                    ErrorMessage="Invalid Email" SetFocusOnError="True" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                    Display="Dynamic" Width="202px"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label3" runat="server" Text="Message Content:"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtMessageContent" runat="server" Height="100px" TextMode="MultiLine"
                    Width="250px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td colspan="2" style="text-align: center;">
                <span style="margin-right: 20px;">
                    <asp:Button ID="btnSend" ValidationGroup="Send" Width="70px" Height="30px" runat="server"
                        Text="Send" OnClick="btnSend_Click"></asp:Button></span>
            </td>
        </tr>
    </table>
</asp:Content>
